import 'package:flutter/material.dart';
import 'package:proj_shop/roots/weibo/pages/splash_page.dart';
import 'package:proj_shop/roots/weibo/routers/weibo_routes.dart';

class WeiboApp extends StatefulWidget {
  @override
  _WeiboAppState createState() => _WeiboAppState();
}

class _WeiboAppState extends State<WeiboApp> {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: "HRL微博",
      debugShowCheckedModeBanner: false,
      theme: ThemeData(
        primaryColor: Colors.white,
        scaffoldBackgroundColor: Colors.white,
      ),
      home: SplashPage(),
      onGenerateRoute: WeiboRoutes.generateRoutes,
      navigatorKey: WeiboRoutes().navigatorKey,
    );
  }
}
